<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>template<class T> class  osg::mem_ptr</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>template&lt;class <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&gt; class  <A HREF="#DOC.DOCU">osg::mem_ptr</A></H2></H2><BLOCKQUOTE>Smart pointer for handling memory pointers via associated memory adapter</BLOCKQUOTE>
<HR>

<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.69.1">mem_ptr</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.69.2">mem_ptr</A></B>(<!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="ImpostorSprite.html#DOC.2.45.24">t</A>, <!1><A HREF="MemoryAdapter.html">MemoryAdapter</A>* ma)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.69.3">mem_ptr</A></B>(const <!1><A HREF="mem_ptr.html#DOC.2.69.3">mem_ptr</A>&amp; rp)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.69.4">~mem_ptr</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   <!1><A HREF="mem_ptr.html">mem_ptr</A>&amp; <B><A HREF="#DOC.2.69.5">operator = </A></B>(const <!1><A HREF="mem_ptr.html">mem_ptr</A>&amp; rp)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   void <B><A HREF="#DOC.2.69.6">set</A></B>(<!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="ImpostorSprite.html#DOC.2.45.24">t</A>, <!1><A HREF="MemoryAdapter.html">MemoryAdapter</A>* ma)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const bool <B><A HREF="#DOC.2.69.7">operator == </A></B>(const <!1><A HREF="mem_ptr.html">mem_ptr</A>&amp; rp) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const bool <B><A HREF="#DOC.2.69.8">operator == </A></B>(const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const bool <B><A HREF="#DOC.2.69.9">operator != </A></B>(const <!1><A HREF="mem_ptr.html">mem_ptr</A>&amp; rp) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const bool <B><A HREF="#DOC.2.69.10">operator != </A></B>(const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&amp; <B><A HREF="#DOC.2.69.11">operator*</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&amp; <B><A HREF="#DOC.2.69.12">operator*</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <B><A HREF="#DOC.2.69.13">operator-></A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <B><A HREF="#DOC.2.69.14">operator-></A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const bool <B><A HREF="#DOC.2.69.15">operator!</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const bool <B><A HREF="#DOC.2.69.16">valid</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <B><A HREF="#DOC.2.69.17">get</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <B><A HREF="#DOC.2.69.18">get</A></B>() const 
</DL></P>

</DL>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Smart pointer for handling memory pointers via associated memory adapter</BLOCKQUOTE>
<DL>

<A NAME="mem_ptr"></A>
<A NAME="DOC.2.69.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> mem_ptr()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="mem_ptr"></A>
<A NAME="DOC.2.69.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> mem_ptr(<!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="ImpostorSprite.html#DOC.2.45.24">t</A>, <!1><A HREF="MemoryAdapter.html">MemoryAdapter</A>* ma)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="mem_ptr"></A>
<A NAME="DOC.2.69.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> mem_ptr(const <!1><A HREF="mem_ptr.html#DOC.2.69.3">mem_ptr</A>&amp; rp)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~mem_ptr"></A>
<A NAME="DOC.2.69.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~mem_ptr()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator = "></A>
<A NAME="DOC.2.69.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   <!1><A HREF="mem_ptr.html">mem_ptr</A>&amp; operator = (const <!1><A HREF="mem_ptr.html">mem_ptr</A>&amp; rp)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="set"></A>
<A NAME="DOC.2.69.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   void set(<!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="ImpostorSprite.html#DOC.2.45.24">t</A>, <!1><A HREF="MemoryAdapter.html">MemoryAdapter</A>* ma)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator == "></A>
<A NAME="DOC.2.69.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const bool operator == (const <!1><A HREF="mem_ptr.html">mem_ptr</A>&amp; rp) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator == "></A>
<A NAME="DOC.2.69.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const bool operator == (const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator != "></A>
<A NAME="DOC.2.69.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const bool operator != (const <!1><A HREF="mem_ptr.html">mem_ptr</A>&amp; rp) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator != "></A>
<A NAME="DOC.2.69.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const bool operator != (const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator*"></A>
<A NAME="DOC.2.69.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&amp; operator*()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator*"></A>
<A NAME="DOC.2.69.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&amp; operator*() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator->"></A>
<A NAME="DOC.2.69.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* operator->()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator->"></A>
<A NAME="DOC.2.69.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* operator->() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator!"></A>
<A NAME="DOC.2.69.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const bool operator!() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="valid"></A>
<A NAME="DOC.2.69.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const bool valid() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="get"></A>
<A NAME="DOC.2.69.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* get()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="get"></A>
<A NAME="DOC.2.69.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* get() const </B></TT>
<DL><DT><DD></DL><P></DL>

<HR><DL><DT><B>This class has no child classes.</B></DL>

<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>
